fix right arrow hiding