Added media Query for gallery buttons