Further fixes to gallery and added Next Post tab