Fix tab bug
Refactor code to make chatbox work as intended

The chatbox which is the .messages ul did not autoflow correctly at the
right height and extended over the inputMessage class. To fix this, I
created a responsive height that is set when the page is loaded and make
the screen scroll down when new messages are added.