Taras osiris master

Added automatic resize (to properly fit screen size). Thank you Taras Leskiv!