added basic up button functionality