Removed unnecessary variables & methods

Every methods/variables related to last position.
This was used in old onLayout() implementation
Changed data type in all dimensions related fields/methods

float to int everywhere except scaleFactor
ResizeTransformer Fix

Changed implementatnio of position calculation
Changed implemenation of getMinWidth() method
Fixed sample app (I forgot about that in prev commit)