FIXED LAYOUT TO LINEAR INSTEAD OF RELATIVE, ALSO REMOVED SOME JUNK CODE