styling and implement the back action