Refactored position setup to use relative layout