Introduce custom element, cleanup overall code
Improve positioning
Allow to specify min. crop size