Adding validation, jquery animation, back button