slide up and down animation fixed