Fix layout problems

This fixes long standing problem with firefox and height of the bufferlines div by using bottom relative position to place the input line instead of using top position.