Button animation code written