hide first and last button