replaced arrow-up and arrow-down button with expand and compress