changes to buffer
added scaling for mobile version as well as menu dropdown for photo categories
added updating category on menu click as well as hasBeenViewed and hasBeenCategorised flags
tidy before merge
per merge cheating
Merge branch 'tom'

post big changes merge
fixed styling on buttons
merging style changes on buttons
Merge branch 'tom'

merge minor style changes on buttons
:qw
:wq
category image pre merge thing
Fixed a missing '$' in the get and update user scripts
Implemented sae json reading and writting in all update php functions by verifying that neither the initial nor final json is null