added button pressed animation