removed duplicate jquery selector
fix scrolling bugs
added command history for text input

use up and down arrows to navigate between commands