better support for top and bottom properties