Removed top and bototm transition for codehints.

This is a fix for #4924.