Made homepage diary scroll horizontally if device's screen is below a certain width