I'm making navigation almost identical to this

most navs like this that I've seen are at the top of the page and use jQuery's slide down to reveal the sub nav and slideUp to close it.

but my navigation is fixed to the bottom on the page ( for a mobile site ). So how can I get the nav/accordion to slide up to reveal the nested <ul>?