Removes extra space in horizontal view