fixing flex-next and flex-prev CSS
little css fixes. javascript now loads on bottom