Fixes: layout_weight attribute support for the primary and secondary content & do not allow moving of handler outside of the screen