Implemented actions_on_top and actions_on_bottom