Fix sticky navbar code

Also add first ideas for form input validation