more logic for adding workout button
renamed collaspe button to close button