Move 'choose_height()' to 'misc' module.
Delete 'media' module.