Made medium images smaller.
Added gallery class to the Controller.